// 获取用户信息
export const getUserProfile = (params) => {
    return $api(`/system/user/profile`, {
      method: "GET",
      query: {
        ...params
      }
    });
  };
  
  
  // 更新用户信息
  export const updateUserProfile = (params) => {
    return $api(`/system/user/profile`, {
      method: "PUT",
      body: {
        ...params
      }
    });
  };


    // 更新用户密码
    export const updateUserPassword = (params) => {
        return $api(`/system/user/profile/updatePwd`, {
          method: "PUT",
          body: {
            ...params
          }
        });
      };
  
  
  
  